/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ronin.dao.api;

import com.ronin.model.Hizmet;
import java.util.List;

/**
 *
 * @author esimsek
 */
public interface IHizmetDao {
    
    Hizmet getSingle(Hizmet hizmet);
    
    Hizmet getSingleById(Long id);
    
    Hizmet getSingleOneByNamedQuery(String namedQuery,Object... parameters);
    
    List<Hizmet> getList(Hizmet hizmet);
    
    List<Hizmet> getListByNamedQuery(String namedQuery,Object... parameters);
    
    int getCount(Hizmet hizmet);

    void add(Hizmet hizmet);

    void update(Hizmet hizmet);

    void delete(Hizmet hizmet);
}
